﻿using System;
using BusinessLogic.Models.ValidationAttributes;
using Interfaces.Models;
using Microsoft.Practices.EnterpriseLibrary.Validation.Validators;

namespace BusinessLogic.Models.LogicModels.News
{
    public class Link : ILink
    {
        [NotNullValidator(Tag = RulesKeys.Required)]
        public Guid Id { get; set; }

        public string Title { get; set; }

        public string Url { get; set; }
    }
}
